import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.apache.log4j.Logger;

public class IEFinish implements JavaDelegate {
	private static Logger logger = Logger.getLogger("IEFinish");

	@Override
	public void execute(DelegateExecution arg0) throws Exception {
		String processId=(String)arg0.getVariable("processId");
		logger.info(arg0.getProcessInstanceId()+" "+processId);	
		SignalSender.sendSignal(processId,"catchSignal");
	}

}
